Fix gdk_windowing_window_at_pointer in the directfb backend
authorMatthias Clasen <mclasen@redhat.com>
Tue, 23 Feb 2010 17:49:51 +0000 (12:49 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 23 Feb 2010 17:51:45 +0000 (12:51 -0500)
Patch by Hiroyuki Ikezoe, see bug 604799.

gdk/directfb/gdkwindow-directfb.c

index 169039447101b31703bdd86932ada72685084867..99419f4feb6bdd2071bcf0064ed1c1f83b95a333 100644 (file)
@@ -2084,15 +2084,8 @@ _gdk_windowing_window_at_pointer (GdkDisplay *display,
   GdkWindow *retval;
   gint       wx, wy;
 
-  if (!win_x || !win_y)
   gdk_directfb_mouse_get_info (&wx, &wy, NULL);
 
-  if (win_x)
-    wx = *win_x;
-
-  if (win_y)
-    wy = *win_y;
-
   retval = gdk_directfb_child_at (_gdk_parent_root, &wx, &wy);
 
   if (win_x)